const url={
    loadFilms:"http://127.0.0.1/vue/yearCode/service/loadFilms.php",
    uploadTest:"http://127.0.0.1/vue/yearCode/service/uploadTest.php"
}

function loadFilm(){
    console.log(url.loadFilms);
}
function loadTest(){
    console.log(url.uploadTest);
}

// console.log(module.exports===exports);

module.exports.uploadTest = loadTest;
module.exports.loadFilms = loadFilm;
// module.exports.url = url;
module.exports.username="tom";
// console.log(module.exports);